<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>身份认证 - 我的管理中心</title>
{include file="head"}
<link href="/static/thinkct/css/basic.css?v=1" rel="stylesheet" type="text/css" /><script language="javascript" src="/static/thinkct/js/jquery.m.js"></script><script language="javascript" src="/static/thinkct/js/layui/layui.js"></script><script language="javascript" src="/static/thinkct/js/common.js?v=1"></script><script language="javascript" src="/static/thinkct/js/member.js?v=1"></script><link href="/static/thinkct/css/member.css?v=1" rel="stylesheet" type="text/css" /><link href="/static/thinkct/js/layui/css/layui.css" rel="stylesheet" type="text/css" /><script language="javascript" src="/static/thinkct/js/plupload.js"></script><script language="javascript" src="/static/thinkct/js/upload.js"></script></head>
<body>
<!--头部-->
{include file="uhead"}

<!--头部-->
<div class="umain">
{include file="uleft"}
<div class="uright">
<div class="mwz">
<li><a href='/member/verify/email'>邮箱认证</a></li>
<li><a href='/member/verify/phone'>手机认证</a></li>
<li class='cur'><a>身份认证</a></li>
<li><a href='/member/certification/company'>企业认证</a></li>
<li class="prompt r">每个帐户最多可提交认证5张身份证</li></div>
<form class="layui-form layui-font14"  name="idcard" action="" method="post" enctype="multipart/form-data">
  <div class="layui-form-item" style='margin:0'>
    <div class="steps">
		<div class="done"><span class="left"><em>1</em>上传身份证</span><span class="right"></span></div>
		<div class="cur"><span class="left"><em>2</em>联网核验</span><span class="right"></span></div>
		<div><span class="left"><em>3</em>认证成功</span></div>
	</div>
</div> 	

<div class="layui-form-item">
    <label class="layui-form-label">姓名：</label>
	<div class="layui-form-mid gray name">{$data.name}</div>
</div> 

<div class="layui-form-item">
    <label class="layui-form-label">身份证号：</label>
	<div class="layui-form-mid gray num">{$data.card}</div>
</div> 

<div class="layui-form-item">
    <label class="layui-form-label">性别：</label>
	<div class="layui-form-mid gray sub">{$data.sex}</div>
</div> 

<div class="layui-form-item">
    <label class="layui-form-label">民族：</label>
	<div class="layui-form-mid gray">{$data.mz}</div>
</div> 

<div class="layui-form-item">
    <label class="layui-form-label">生日：</label>
	<div class="layui-form-mid gray">{$data.birthday}</div>
</div> 

<div class="layui-form-item">
    <label class="layui-form-label">住址：</label>
	<div class="layui-form-mid gray">{$data.address}</div>
</div> 
<input style="display:none" type="text" name="fakeusernameremembered"/>
	<div class="layui-form-item" style="border-top: #ddd dashed 2px;padding-top:15px;">
		<label class="layui-form-label">核验对象</label>
		<div class="layui-inline">
			<input type="radio" name="check" checked lay-filter="check" value="bankid" title="银行卡（推荐）"/><input type="radio" name="check"  lay-filter="check" value="phone" title="手机"/>		</div>
	</div>

		<div class="layui-form-item check-box check-bankid ">
		<label class="layui-form-label">银行卡号：</label>
		<div class="layui-input-inline">
			<input name="bankid" class="layui-input" maxlength="19" autocomplete="off" value='' lay-verify="bankid" size="20" placeholder="请输入银行卡卡号"/>
		</div>
		<div class="layui-input-inline" style='margin:0;width:auto;'>
			<div class="layui-form-mid" style='color: #999;line-height:28px;height:32px;margin:0;padding:0'>（请输入使用【{$data.name}】身份证开户的银行卡号，尽量为非地方性银行）</div>
		</div>
	</div> 
			<div class="layui-form-item check-box check-phone hide" >
		<label class="layui-form-label">手机号码：</label>
		<div class="layui-input-inline" style="font-size:18px;font-weight:700;line-height:32px;color:#666;width:auto;">{$user.phone}</div>
		<div class="layui-input-inline" style='margin:0;width:auto;'>
			<div class="layui-form-mid" style='color:#999;line-height:32px;height:32px;margin:0;padding:0'>（必须确保此手机号使用【{$data.name}】身份证开通办理，否则请选择银行卡认证）</div>
		</div>
	</div> 
	
<div class="layui-form-item"  style="border-top: #ddd dashed 2px;padding-top:15px;">
    <label class="layui-form-label">支付费用：</label>
	<div class="layui-form-mid"><b style="color:red" id="pmoney">2</b> 元 （<strong>特别提醒：因有关部门核验的接口需收费，故身份核验结果无论成功与否，均需收费2元/次</strong>）</div>

</div> 

<div class="layui-form-item">
    <label class="layui-form-label">帐户余额：</label>
	<div class="layui-form-mid"><b style="color:#f40" id="umoney">{$user.money}</b> 元</div>
</div> 


<div class="layui-form-item">
    <label class="layui-form-label">安全码：</label>
	<div class="layui-input-inline">
	<input name="safe" class="layui-input" maxlength="30" style="border:#56aa16 solid 1px;" autocomplete="off"  lay-verify="safe" size="30" type="password" placeholder="请输入安全码"/>
    </div>
	<div class="layui-inline"><a href="/member/fetch/safe" target="_blank"><div class="layui-form-mid layui-word-aux" style="#247fbd">忘记安全码?</div></a></div>
</div> 
<input type="hidden" value="idcard" name="action" />
<div class="layui-form-item" style='padding-bottom:15px;'>
    <label class="layui-form-label"></label>
    <div class="layui-input-block"><input type="button" class="layui-btn" lay-submit="" lay-filter="check" value="信息正确，提交核验"/> <input type="button" class="layui-btn layui-btn-primary"  value="信息错误，取消重传" onClick="window.location.href='/member/certification/idcard/cancel/{$data.card}'"/></div>
</div>
  <div class='notes'>
      <li> <h3>联网核验说明：</h3></li>
  <li>&nbsp;&nbsp;&nbsp;&nbsp;(一) 若本页显示信息与实际不符，说明上一步所传图片有误或不够清晰，请取消重传；</li>
    <li> <h3>身份联网核验失败常见的几种原因：</h3></li>
		<li>&nbsp;&nbsp;&nbsp;&nbsp;(一) 提交信息有误，核验对象非当前认证身份证办理开通；
	<li>&nbsp;&nbsp;&nbsp;&nbsp;(二) 提交信息有误，全国公民身份证号码查询服务中心无法查询到该身份信息或信息不一致；
	<br />&nbsp;&nbsp;&nbsp;&nbsp;(三) 可能最近有迁移户口，身份证号码查询服务中心尚未及时更新，建议更换亲属身份证认证。</li>
</div>
	<input type="hidden" value="idcard" name="action" />
	<input type="hidden" value="{$data.card}" name="flow" />
</form>
</div>
 </div>
{include file="bottom"}</body>
<script type="text/javascript">
layui.use('form',function(){var form=layui.form();form.verify({companyname:function(value){if($.trim(value)==""||value.length<6)return'请输入正确的【企业名称】'},companynum:function(value){if($.trim(value)==""||value.length<=10)return'请输入正确的【营业执照编号】'},companytel:function(value){if(!judge(value,'phone')&&!judge(value,'tel'))return'请输入正确的【联系电话】'},bankid:function(value){if($("input[name='check']:checked").val()=='bankid'&&!/^[0-9]\d{14,20}$/g.test(value))return'请输入正确银行卡卡号'}});form.on('radio(check)',function(data){$('.check-box').addClass('hide');$('.check-'+data.value).removeClass('hide')});form.on('submit(upload)',function(data){progress(true);return true});form.on('submit(check)',function(data){var sub=$.trim($('.sub').html()),name=$.trim($('.name').html()),num=$.trim($('.num').html()),check=$("input[name='check']").length>0?$("input[name='check']:checked").val():0;bankid=$("input[name='bankid']").length>0?$("input[name='bankid']").val():0;var pmoney=$('#pmoney'),umoney=$('#umoney');if(parseFloat(umoney.html())<parseInt(pmoney.html())){layer.confirm('<b>您当前余额不足 <font color="red">'+parseInt(pmoney.html())+'</font> 元，<a href="/onpay/'+pmoney.html()+'" target="_blank" style="color:#247fbd">点此充值</a></b><br><font color="#666666">然后请根据操作情况点击以下选项。',{icon:3,btn:['充值完成','取消返回'],shade:[0.5,'#fff'],title:false,closeBtn:false,area:'350px'},function(){location.reload()},function(index){layer.close(index)});return false}if(sub.length<=0||name.length<=0||num.length<=0){layer.alert("您提交的信息不全，请重新提交！",{icon:2});return false}var loading=layer.msg('联网核验中，请稍等……',{icon:16,shade:[0.3,'#333'],time:0});Aform("certification","mode="+data.form.name+"&sub="+sub+"&num="+num+'&check='+check+'&bankid='+bankid+'&safe='+$('input[name=safe]').val(),function(datas){layer.close(loading);Rs(datas)},true);return false})});
</script>
</html>